package com.own.business.system.dictionary.entity.query;

import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * SystemDictionaryItemQuery
 *
 * @author chenxueli
 * @date 2023-06-21 09:38:49
 */
@Schema(title = "系统数据字典项目" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class SystemDictionaryItemQuery extends BaseQuery {

    @Schema(title = "字典id")
    private Long dictionaryId;

    @Schema(title = "项目名称")
    private String name;

    @Schema(title = "数据项值")
    private String value;

    @Schema(title = "是否禁用 1=禁用 0=可用")
    private Integer isDisable;

    @Schema(title = "是否可编辑 1=可以 0=不可编辑")
    private Integer isEdit;

}
